package com.yehuo.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 钱包
 */
@TableName("u_wallet")
@Data
public class Wallet {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private String userId;

    @TableField("consumption_amount")
    private String consumptionAmount;

    @TableField("recharge_amount")
    private String rechargeAmount;

    @TableField("amount")
    private String amount;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("note")
    private String note;

}
